<input type="hidden" id="exportBtn" shiro:hasPermission="SXTESP_YSP_DC" value="1" />
<input type="hidden" id="auditBtn" shiro:hasPermission="SXTESP_YSP_CK" value="1" />
<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<form class="am-form am-form-horizontal">
					<div class="am-form-group">
						<label for="userCond" class="am-u-lg-2 am-form-label">输入用户名/借款人姓名：</label>
						<div class="am-u-lg-2">
							<input type="text" class="am-form-field " placeholder="输入关键字搜索" id="userCond" th:value="${userCond}" />
						</div>
						<label for="agentCond" class="am-u-lg-2 am-form-label">输入代理人姓名/手机号：</label>
						<div class="am-u-lg-2">
							<input type="text" class="am-form-field " placeholder="输入关键字搜索" id="agentCond" th:value="${agentCond}" />
						</div>
						<label for="mobile" class="am-u-lg-1 am-form-label">信用等级</label>
						<div class="am-u-sm-2 am-u-end">
							<select data-am-selected="{btnSize: 'sm'}" id="rating">
								<option>全部</option>
								<option th:each="rating : ${ratings}" th:value="${rating.name()}" th:utext="${rating.name()}"></option>
							</select>
						</div>
					</div>
					<div class="am-form-group">
						<label for="userCond" class="am-u-lg-2 am-form-label">客户家庭地址：</label>
						<div class="am-u-lg-2">
							<input type="text" class="am-form-field " placeholder="输入关键字搜索" id="address_detail" th:value="${address_detail}" />
						</div>
			  			<label class="am-u-sm-6 am-u-lg-2 am-form-label">调额申请时间：</label>
						<div class="am-u-sm-12 am-u-lg-2">
							<input type="text" placeholder="开始时间" th:value="${startTime}" id="startTime"  class="form-datetime-lang am-form-field" />
						</div>
						<div class="am-u-sm-12 am-u-lg-2 ">
							<input type="text" placeholder="结束时间" th:value="${endTime}" id="endTime"  class="form-datetime-lang am-form-field" />
						</div>
						<button type="button" class="am-btn am-btn-secondary"
							onclick="search()">查询</button>
					</div>
				</form>

				<div class="widget-body  am-fr">

					<!-- 表格 -->
					<div class="am-u-sm-12">
						<div
							class="widget-main padding-6 no-padding-left no-padding-right">
							<div id="dtGridContainer" class="dlshouwen-grid-container"></div>
							<div id="dtGridToolBarContainer"
								class="dlshouwen-grid-toolbar-container"></div>
						</div>
					</div>

				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" th:src="@{/customer/credit/auditedList.js}" />

